<div id="main-menu">
    <div class="mozaic-widget mozaic-initialized widget-main_menu" data-guid="widget-463" >
        <div class="main-nav main-nav-expanded new_menu global_bg_color">
            <div class="main-nav-wrapper">
                <ul class="full-menu top-nav-menu">
                    <li class="button-toggle-left_menu">
                        <a><i class="icon-toggle-menu"></i></a>
                    </li>

                    <li style="height: 60px;list-style: none; display: inline">
                        <div class="mozaic-widget mozaic-initialized logo-pulse" data-guid="widget-18" >
                        </div>
                    </li>

                    <li class="left_nav_separator s_active"></li>

                    <li class="dashboard-tab">
                        <a class="<?php if (strpos(strtoupper($this->mainView), "HOMEVIEWHTML.PHP")) echo 'selected-tab'; ?>" href="/#home" ><strong></strong><i class="icon-dashboard"></i><span>Home</span></a>
                    </li>

                    <li class="left_nav_separator s_active"></li>

                    <li class="inbox-tab" style="display:none">
                        <a class="<?php if (strpos(strtoupper($this->mainView), "STREAMVIEWHTML.PHP")) echo 'selected-tab'; ?>"><strong></strong> <i class="icon-signals"></i> <span>Signals</span>

                            <div class="mozaic-widget mozaic-initialized widget-signals_count" data-guid="widget-471" ></div></a>
                    </li>

                    <li class="left_nav_separator s_active"></li>

                    <li class="activity-tab">
                        <a class="<?php if (strpos(strtoupper($this->mainView), "ACTIVITYVIEWHTML.PHP")) echo 'selected-tab'; ?>" href="/#activity"><strong></strong><i class="icon-inbox"></i><span>Activity</span></a>
                    </li>

                    <li class="left_nav_separator s_active"></li>

                    <li class="reports-tab" style="display:none">
                        <a href="#reports"><strong></strong><i class="icon-reports"></i><span>Reports</span></a>
                    </li><!--<li class="stream-number">
                          <div id="stream_count" class="mozaic-widget" data-widget="item_count" ></div>
                        </li>-->
                </ul>

                <div class="main-submenu">
                    <ul class="mozaic-widget full-menu stream-menu mozaic-initialized widget-folders_and_streams" data-guid="widget-473" >


                        <li style="list-style: none; display: inline">
                            <div class="">
                                <div class="viewport">
                                    <div class="overview" style="top: 0px;">
                                        <ul class="folders mozaic-widget mozaic-initialized widget-directory_list" data-guid="widget-478" >
                                            <?php include "View/Desktop/Folder/FolderViewHTML.php"; ?>
                                        </ul>

                                    </div>
                                </div>
                            </div>
                        </li>
                    </ul>

                    <div class="go_footer_nav_buttom global_bg_color">
                        <ul class="full-menu top-nav-menu stream_top">
                            <li class="left_nav_separator s_active opacity_off"></li>
                        </ul>
                        <?php global $user;
                            if ($user->type != '3' && $user->type != '4') : ?>
                        <div class="mozaic-widget add-stream-action-container global_bg_color mozaic-initialized widget-add_streams_button" data-guid="widget-22" >

                            <a class="add-stream"><strong></strong> <i class="icon-plus"></i> <span>Add stream</span></a> 
                        </div>
                        <?php endif; ?>
                        <div class="change_view">
                            <strong></strong>
                        </div>

                        <ul class="full-menu top-nav-menu stream_bottom">
                            <li class="left_nav_separator s_active opacity_off"></li>
                        </ul>

                        <div class="bottom-main-nav">
                            <div class="bottom-main-nav-content">
                                <div id="stage">
                                    <div class="left-menu-tooltip fade top in">
                                        <div class="tooltip-arrow"></div>

                                        <div class="tooltip-inner">Preview</div>
                                    </div>
                                    <span class="toggle br-4"><i class="br-4"><i></i></i><q>OFF</q></span>
                                </div><div class="logout">
                                    <div class="left-menu-tooltip fade top in">
                                        <div class="tooltip-arrow"></div>
                                        <div class="tooltip-inner">
                                            Log out
                                        </div>
                                    </div><a href="/logout"><i class="icon-log-out"></i></a>
                                </div><div class="settings-link">
                                    <a href="#settings/account"><i class="icon-settings"></i></a>

                                    <div class="left-menu-tooltip fade top in">
                                        <div class="tooltip-arrow"></div>

                                        <div class="tooltip-inner">
                                            Settings
                                        </div>
                                    </div>
                                </div><div class="help-link">
                                    <a href="http://help.buzzmetrics.vn/" target="_blank"><i class="icon-question"></i></a>

                                    <div class="left-menu-tooltip fade top in">
                                        <div class="tooltip-arrow"></div>

                                        <div class="tooltip-inner">
                                            Help
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<div class="left-nav">
    <div class="mozaic-widget full-height-container mozaic-initialized widget-action_menu" data-guid="widget-464" data-widget="action_menu">


        <div id="action-menu" style="height: 100%; display: block;">
            <div class="action-nav  disable" id="action-menu-content">
                <div class="scrollbar" style="height: 677px;">
                    <div class="track" style="height: 677px;">
                        <div class="thumb" style="top: 0px; height: 677px;">
                            <div class="end"></div>
                        </div>
                    </div>
                </div>

                <?php
                if ($this->viewPort && $this->param != "")
                    include $this->viewPort;
                ?>
            </div>

            <div class="ruler-style-bgr"></div>
        </div>
    </div>
</div>
<div class="background-loading">
    <div class="duo duo1">
        <div class="dot dot-a"></div>
        <div class="dot dot-b"></div>
    </div>
    <div class="duo duo2">
        <div class="dot dot-a"></div>
        <div class="dot dot-b"></div>
    </div>
</div>
<div id="controller-container">
    <div class="mozaic-widget Signals mozaic-initialized widget-Signals urgent_for_gc" data-guid="widget-580" >

        <div class="mozaic-widget mozaic-initialized widget-mediator_widget urgent_for_gc" data-guid="widget-583" ></div>

        <?php
        if ($this->mainView && $this->param != "")
            include $this->mainView;
        ?>

        <div class="clear"></div>
    </div>

    <div class="clear"></div>
</div>
<div class="main-loading-percent" style="display: none">
</div>
<style>
    .main-loading-percent {
        z-index: 8999;
        width: 0%;
        background-color: #008000;
        height: 2px;
        -webkit-transition: all 0.3s ease-in-out;
        position: fixed;
        top: 0;
    }
</style>